/**
 * 使用微信打开任意url
 * @param {string} url http/https 开头的url地址
 */
export function openUrlByWechat(url: string) {
    app.startActivity({
        packageName: "com.tencent.mm",
        className: "com.tencent.mm.plugin.webview.ui.tools.WebViewUI",
        extras: {
            rawUrl: url
        },
        root: true
    })
}
